package com.yeswater.multithread.chapter1.test1_12.test2;

/**
 * author : yeswater
 * date : 2023/10/19
 */

public class MyThread extends Thread{

    private long i = 0;

    @Override
    public void run() {
        while (true) {
            i++;
            System.out.println(i);
        }
    }
}
